package com.xjj.myoa.service.imp;

import com.xjj.myoa.dao.UserMapper;
import com.xjj.myoa.entity.OaUser;
import com.xjj.myoa.service.UserService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;
@Service
public class UserServiceImp implements UserService {

    @Autowired
    UserMapper userMapper;
    @Override
    public List<OaUser> getUserList() {
        List<OaUser> userList = userMapper.getUserList();
        return userList;
    }
}
